﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user_sms.aspx.cs" Inherits="Donal.Xms.Web.qianyi.users.user_sms" ValidateRequest="false" %>

<%@ Import Namespace="Donal.Xms.Common" %>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>短信通知</title>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <link rel="stylesheet" type="text/css" href="../../scripts/artdialog/ui-dialog.css" />
    <link rel="stylesheet" type="text/css" href="../skin/icon/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../skin/default/style.css" />
    <script type="text/javascript" charset="utf-8" src="../../scripts/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/jquery/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/artdialog/dialog-plus-min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/webuploader/webuploader.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/uploader.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/common.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/laymain.js"></script>
    <script type="text/javascript">
        $(function () {
            //初始化表单验证
            $("#form1").initValidform();
            //初始化上传控件
            $(".upload-img").InitUploader({ sendurl: "../../tools/upload_ajax.ashx", swf: "../../scripts/webuploader/uploader.swf" });
        });
    </script>
</head>

<body class="mainbody">
    <form id="form1" runat="server">
        <!--导航栏-->
        <div class="location">
            <a href="javascript:history.back(-1);" class="back"><i class="iconfont icon-up"></i><span>返回上一页</span></a>
            <a href="../center.aspx"><i class="iconfont icon-home"></i><span>首页</span></a>
            <i class="arrow iconfont icon-arrow-right"></i>
            <a href="user_list.aspx"><span>会员管理</span></a>
            <i class="arrow iconfont icon-arrow-right"></i>
            <span>短信通知</span>
        </div>
        <div class="line10"></div>
        <!--/导航栏-->

        <!--内容-->
        <div id="floatHead" class="content-tab-wrap">
            <div class="content-tab">
                <div class="content-tab-ul-wrap">
                    <ul>
                        <li><a class="selected" href="javascript:;">批量短信通知</a></li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="tab-content">
            <dl>
                <dt>输入类型</dt>
                <dd>
                    <div class="rule-multi-radio">
                        <asp:RadioButtonList ID="rblSmsType" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" AutoPostBack="True" OnSelectedIndexChanged="rblSmsType_SelectedIndexChanged">
                            <asp:ListItem Value="1">手动输入</asp:ListItem>
                            <asp:ListItem Value="2">批量通知</asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                </dd>
            </dl>
            <dl id="div_group" runat="server" visible="false">
                <dt>会员组别</dt>
                <dd>
                    <div class="rule-multi-porp">
                        <asp:CheckBoxList ID="cblGroupId" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"></asp:CheckBoxList>
                    </div>
                </dd>
            </dl>
            <dl>
                <dt>短信模板</dt>
                <dd>
                    <div class="rule-single-select">
                        <asp:DropDownList ID="ddlSmsPass" runat="server" datatype="*" errormsg="请选择短信模板！" sucmsg=" ">
                            <asp:ListItem Value="">请选择模板...</asp:ListItem>

                        </asp:DropDownList>
                    </div>
                    <span class="Validform_checktip">*通知通道禁止电话网址等宣传广告</span>
                </dd>
            </dl>
            <dl id="div_mobiles" runat="server" visible="false">
                <dt>手机号码</dt>
                <dd>
                    <asp:TextBox ID="txtMobileNumbers" runat="server" CssClass="input" Style="padding: 0; width: 98%; height: 150px;" datatype="/((^1\d{10})(,1\d{10})*$)+/" tip="以英文“,”逗号分隔开" nullmsg="请填写手机号码，多个手机号以“,”号分隔开！" errormsg="手机号必须是以1开头的11位数字，多个手机号以“,”号分隔开！" TextMode="MultiLine"></asp:TextBox>
                    <div class="clear"></div>
                    <span class="Validform_checktip">*多个手机号码以英文“,”逗号分隔开</span>
                </dd>
            </dl>
            <dl>
                <dt>短信参数</dt>
                <dd>
                    <asp:TextBox ID="txtSmsContent" runat="server" CssClass="input" Style="padding: 0; width: 98%; height: 150px;" datatype="*0-200" TextMode="MultiLine" onkeydown="checktxt(this, 'txtTip');" onkeyup="checktxt(this, 'txtTip');" placeholder='如果有参数，请输入Json格式的参数，如：{"shop_name":"测试仟亿商城","order_money":"888888.88","pay_type":"测试支付"}'></asp:TextBox>
                    <div class="clear"></div>
                    <span id="txtTip"></span>
                    <span class="Validform_checktip">* 请输入Json格式的参数，如：{"shop_name":"测试仟亿商城","order_money":"888888.88","pay_type":"测试支付"} </span>
                </dd>
            </dl>
        </div>
        <!--/内容-->

        <!--工具栏-->
        <div class="page-footer">
            <div class="btn-wrap">
                <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" OnClick="btnSubmit_Click" />
                <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript:history.back(-1);" />
            </div>
        </div>
        <!--/工具栏-->

    </form>
</body>
</html>
